interface ResponseData{
    code:number,
    message:string,
    ok:boolean
}

//已有的品牌的ts数据类型
interface Trademark{
    id?:number,
    tmName:string,
    logoUrl:string
}

//包含全部品牌数据的ts类型
type Records = Trademark[]

//获取的已有全部品牌的数据ts类型
interface TrademarkResponseData extends ResponseData{
    data:{
        records:Records,
        total: number,
        size: number,
        current: number,
        searchCount: boolean,
        pages: number
    }
}

export type { TrademarkResponseData,Records,Trademark }